using System;
using System.Collections.Generic;
using System.Text;

namespace Pg.BioMedics.RatObserver.Util
{
    public class DTUtil
    {
        public static String getFormattedTime(long miliseconds) {
            DateTime dt = new DateTime(miliseconds);
            return dt.ToString("mm:ss");
        }

        public static String getFormattedDateTime(DateTime dt)
        {
            return dt.ToString("dd:MM:yyyy mm:ss");
        }
    }
}
